package cn.tedu.csmall.product.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
public class BrandCategoryAddNewDTO implements Serializable {
    /**
     * 品牌id
     */
    @NotNull(message = "必须提交品牌id")
    @ApiModelProperty(value = "品牌id",required = true)
    private Long brandId;
    /**
     * 类别id
     */
    @NotNull(message = "必须提交类别id")
    @ApiModelProperty(value = "类别id",required = true)
    private Long categoryId;
}
